Skip to content

Update GitHub Actions to Node.js 24 versions - #1127

Merged
FlorianRappl merged 1 commit into
ElectronNET:developfrom
icnocop:update-actions-node24
Nov 10, 2026
Merged

FlorianRappl merged 1 commit into
ElectronNET:developfrom
icnocop:update-actions-node24

Conversation

@icnocop

@icnocop icnocop commented Nov 9, 2026

Copy link
Copy Markdown

Resolves the "Node.js 20 is deprecated" warnings shown in workflow runs (e.g. https://github.com/ElectronNET/Electron.NET/actions/runs/41985042363).

Each action is bumped to the lowest major version that runs on Node.js 24, to minimize behavior changes:

Action From To Notes
actions/checkout v4 (v3 in publish-wiki.yml) v5 Node 24 only
actions/setup-dotnet v4 v5 Node 24 only
actions/setup-node v4 v5 v5 adds automatic caching only when package.json has a packageManager field; no package.json in this repo has one
actions/upload-artifact v4 v6 v5 still defaulted to Node 20
actions/download-artifact v4 v7 v5 changed the extraction path for single artifacts downloaded by ID; this workflow downloads all artifacts, so it is unaffected
dawidd6/action-download-artifact v8 v17 v9–v17 only added options and updated dependencies

Not changed:

  • ctrf-io/github-test-reporter@v1 already runs on Node 24.
  • softworkz/strip-markdown-extensions-from-links-action@main (in publish-wiki.yml) runs on Node 16 and has no newer release.

Node.js 20 is deprecated on GitHub Actions runners. Bump each action to
the lowest major version that runs on Node.js 24:

- actions/checkout v3/v4 -> v5
- actions/setup-dotnet v4 -> v5
- actions/setup-node v4 -> v5
- actions/upload-artifact v4 -> v6
- actions/download-artifact v4 -> v7
- dawidd6/action-download-artifact v8 -> v17

@FlorianRappl FlorianRappl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@FlorianRappl
FlorianRappl merged commit 52d42b8 into ElectronNET:develop Nov 10, 2026
15 of 17 checks passed
@FlorianRappl FlorianRappl added this to the 1.0.0 milestone Nov 10, 2026
@icnocop
icnocop deleted the update-actions-node24 branch November 11, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants